package cn.zazhi.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import cn.zazhi.dao.CategoryDao;
import cn.zazhi.pojo.Category;
import cn.zazhi.util.BaseHibernateTemplate;

@Component("categoryDao")
public class CategoryDaoImpl extends BaseHibernateTemplate implements CategoryDao{
	
	public void save(Category ca) {
		getHibernateTemplate().save(ca);
	}

	public void delete(Category ca) {

	}

	public void update(Category ca) {

	}

	public void deleteAll() {
		// TODO Auto-generated method stub
		
	}

	public List<Category> queryAll() {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Category> query(Category ca) {
		// TODO Auto-generated method stub
		return null;
	}

}
